<!--$# TODO header ad -->
<!--$if{!_SGLOBAL['inajax']}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=${_SC['charset']}" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><!--$if{_TPL['titles'] != null}--><!--$for{value:_TPL['titles']}--><!--$if{value}-->${value} - <!--$end--><!--$end--><!--$end--><!--$if{space}-->${_SN[space['uid']]} - <!--$end-->${_SCONFIG['sitename']} - Powered by You&Me</title>

<script language="javascript" type="text/javascript" src="${request.contextPath}/js/jquery-1.4.1.js"></script>
<script language="javascript" type="text/javascript" src="${request.contextPath}/js/jquerytools/tools.tooltip-1.0.2.js"></script>

<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>

<script language="javascript" type="text/javascript" src="${request.contextPath}/dwr/engine.js"></script>



<style type="text/css">
@import url(css/base.css);
<!--$if{_SGLOBAL['space_theme']}-->
@import url(template/default/style.css);
@import url(theme/${_SGLOBAL[space_theme]}/style.css);
<!--$else-->
@import url(template/${_SCONFIG['template']}/style.css);
<!--$end-->
<!--$if{_SGLOBAL['space_css']}-->
${_SGLOBAL['space_css']}
<!--$end-->
/* TODONOW */
@import url(theme/new/style.css);
</style>
<link rel="shortcut icon" href="image/favicon.ico" />
<link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.html?rsd=${space['uid']}" />
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>

	<div id="header">
	<!--$if{_SGLOBAL['ad']['header']}--><div id="ad_header"><!--{ad/header}--></div><!--$end-->
	<div class="headerwarp">
		<h1 class="logo"><a href="index.html"><img src="${_SCONFIG['sitelogo']}" alt="${_SCONFIG['sitename']}" /></a></h1>
		<ul class="menu">
		<!--$if{_SGLOBAL['supe_uid']}-->
			<li><a href="space.html?do=home">首页</a></li>
			<li><a href="space.html">我的主页</a></li>
			<li><a href="space.html?do=friend">好朋友</a></li>
		<!--$else-->
			<li><a href="index.html">首页</a></li>
		<!--$end-->
		  <li><a href="space.html?do=thread">群组</a></li>
			<li><a href="network.html">大杂烩</a></li>
			
		<!--$if{_SGLOBAL['appmenu']}-->
			<!--$if{_SGLOBAL['appmenus']}-->
			<li class="dropmenu" id="ucappmenu" onmouseover="showMenu(this.id)">
				<a href="${_SGLOBAL[appmenu][url]}" title="${_SGLOBAL[appmenu][name]}" target="_blank">${_SGLOBAL[appmenu][name]}</a>
			</li>
			<!--$else-->
			<li><a href="${_SGLOBAL[appmenu][url]}" title="${_SGLOBAL[appmenu][name]}" target="_blank">${_SGLOBAL[appmenu][name]}</a></li>
			<!--$end-->
		<!--$end-->
		
		<!--$if{_SGLOBAL['supe_uid']}-->
			<li><a href="space.html?do=pm<!--$if{(_SGLOBAL['member']['newpm'])}-->&filter=newpm<!--$end-->">消息<!--$if{(_SGLOBAL['member']['newpm'])}-->(新)<!--$end--></a></li>
			<!--$if{(_SGLOBAL['member']['notenum'])}--><li class="notify"><a href="space.html?do=notice">${_SGLOBAL['member']['notenum']}条新通知</a></li><!--$end-->
		<!--$else-->
			<li><a href="help.html">帮助</a></li>
		<!--$end-->
		</ul>
		
		<div class="nav_account">
		<!--$if{_SGLOBAL['supe_uid']}-->
			<!--$# <a href="space.html?uid=${_SGLOBAL['supe_uid']}" class="login_thumb"><img src="${&com.heaven.web.utils.Common.avatar(_SGLOBAL['supe_uid'], 'small')}" alt="${_SN[_SGLOBAL['supe_uid']]}" width="20" height="20" /></a> #$-->
			hi, <a href="space.html?uid=${_SGLOBAL['supe_uid']}" class="loginName">${_SN[_SGLOBAL['supe_uid']]}</a>
			<!--$if{_SN[_SGLOBAL['supe_uid']]!=_SGLOBAL['username']}-->(${_SGLOBAL['supe_username']})<!--$end-->
			 | <!--$if{!_SCONFIG['closeinvite'] || !_SCONFIG['closeinvite'].toInteger}--><a href="cp.html?ac=invite">邀请</a> | <!--$end--><a href="cp.html">设置</a> | <a href="cp.html?ac=privacy">隐私</a> | <a href="cp.html?ac=common&op=logout">退出</a>
		<!--$else-->
			<!--$# <a href="do.html?ac=${_SCONFIG['register_action']}" class="login_thumb"><img src="${&com.heaven.web.utils.Common.avatar("", "small")}" width="20" height="20" /></a>  #$-->
			<a href="do.html?ac=${_SCONFIG['login_action']}">登录</a> | 
			<a href="do.html?ac=${_SCONFIG['register_action']}">注册</a>
		<!--$end-->
		</div>
	</div>

	<div id="wrap">

	<!--$if{(!_TPL['nosidebar'])}-->
	<div id="main">
		<div id="app_sidebar">
		<!--$if{_SGLOBAL['supe_uid']}-->
			<ul class="app_list" id="default_userapp">
				<li><img src="image/app/doing.gif" width="18px"><a href="space.html?do=doing">心情</a></li>
				<li><img src="image/app/album.gif" width="18px"><a href="space.html?do=album">相册</a><em><a href="cp.html?ac=upload">上传</a></em></li>
				<li><img src="image/app/blog.gif"  width="18px"><a href="space.html?do=blog">日志</a><em><a href="cp.html?ac=blog">发表</a></em></li>
				<li><img src="image/app/mtag.gif"  width="18px"><a href="space.html?do=thread">群组</a><em><a href="cp.html?ac=thread">话题</a></em></li>
				<li><img src="image/app/share.gif" width="18px"><a href="space.html?do=share">分享</a></li>
				
			<!--$if{_SCONFIG['my_status']}-->
				<!--$for{value:_SGLOBAL['userapp']}-->
				<li><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.html?id=${value[appid]}">${value[appname]}</a></li>
				<!--$end-->
			<!--$end-->
			</ul>
			
			<!--$if{_SCONFIG['my_status']}-->
			<ul class="app_list" id="my_userapp">
				<!--$for{value:_SGLOBAL['my_menu']}-->
				<li id="userapp_li_${value[appid]}"><img src="http://appicon.manyou.com/icons/${value[appid]}"><a href="userapp.html?id=${value[appid]}" title="${value[appname]}">${value[appname]}</a></li>
				<!--$end-->
			</ul>
			<!--$end-->
			
			<!--$if{_SGLOBAL['my_menu_more']}-->
			<p class="app_more"><a href="javascript:;" id="a_app_more" onclick="userapp_open();" class="off">展开</a></p>
			<!--$end-->
			
			<!--$if{_SCONFIG['my_status']}-->
      <!-- 
			<div class="app_m">
				<ul>
					<li><img src="image/app_add.gif"><a href="cp.html?ac=userapp&my_suffix=%2Fapp%2Flist" class="addApp">添加组件</a></li>
					<li><img src="image/app_set.gif"><a href="cp.html?ac=userapp&op=menu" class="myApp">管理组件</a></li>
				</ul>
			</div>
       -->
			<!--$end-->
		
		<!--$else-->
			<div class="bar_text">
				<form id="loginform" name="loginform" action="do.html?ac=${_SCONFIG['login_action']}&ref" method="post">
				<input type="hidden" name="formhash" value="<!--${&com.heaven.web.utils.Common.formhash()}-->" />
					<p class="title">登录站点</p>
					<p>用户名</p>
					<p><input type="text" name="username" id="username" class="t_input" size="15" value="" /></p>
					<p>密码</p>
					<p><input type="password" name="password" id="password" class="t_input" size="15" value="" /></p>
					<p><input type="checkbox" id="cookietime" name="cookietime" value="315360000" checked /><label for="cookietime">记住我</label></p>
					<p>
						<input type="submit" id="loginsubmit" name="loginsubmit" value="登录" class="submit"  />
						<a href="do.html?ac=${_SCONFIG['register_action']}" class="button">注册</a>
					</p>
				</form>
			</div>
		<!--$end-->
		</div>

		<div id="mainarea">
		
		<!--$if{_SGLOBAL['ad']['contenttop']}--><div id="ad_contenttop"><!--{ad/contenttop}--></div><!--$end-->
	<!--$end-->

<!--$end-->
